package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.PlanFlow;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @Author 熊冰
 * @Date 2019/11/8 15:00
 * 任务单流程
 */
public interface PlanFlowMapper {
    //增加
    int insertPlanFlow(PlanFlow planFlow);
    //更新
    int updatePlanFlow(PlanFlow planFlow);
    //查询
    List<PlanFlow> queryPlanFlow(PlanFlow planFlow);
    //总数
    int countPlanFlow(PlanFlow planFlow);
    //判重
    int checkPlanFlow(PlanFlow planFlow);
    //删除
    int deletePlanFlow(@Param("planFlowIds") List<Integer> planFlowIds, @Param("dataState") Integer dataState);

}